package com.acoffee.java4;

/**
 * @author acoffee
 * @create 2021-11-11 21:38
 */
public class UserDaoImpl implements UserDao{


    @Override
    public User QueryById(int id) {
        if (id == 1){
            return new User("tom");
        }
        return null;
    }
}
